﻿using System;
using IterationLife.Extensions.Dtos;
using IterationLife.Mobile.AppServices.Dtos.Common;
using Util.Iocs;

namespace IterationLife.Mobile.AppServices.Services.Common
{
    /// <summary>
    /// 内容资源评论服务
    /// </summary>
    public interface IContentResourceCommentService : IDependency
    {
        /// <summary>
        /// 评论分页列表
        /// </summary>
        /// <param name="resourceId">内容资源编号</param>
        /// <param name="page">页数</param>
        /// <param name="size">条数</param>
        PagedData<ContentResourceCommentOutPut> PagedList(Guid resourceId, int page, int size);
        /// <summary>
        /// 添加评论
        /// </summary>
        /// <param name="resourceId">内容资源编号</param>
        /// <param name="content">内容</param>
        void Add(Guid resourceId, string content);
    }
}
